<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Vaga
 *
 * @author instrutor
 */
class Vaga {

    private $id;
    private $descricao;
    private $dataInicio;
    private $dataFim;
    private $salario;
    private $situacao;
    private $candidatos;
    private $profissao;
    private $setor;

    public function __construct() {
        
    }

    public function __get($name) {
        return $this->$name;
    }

    public function __set($name, $value) {
        $this->$name = $value;
        return $this;
    }

    public function addCandidato(Candidato $candidato) {
        $this->candidatos[] = $candidato;
    }

}

?>
